package com.content.scaffold.common.client.proxy;

import org.springframework.aop.support.DynamicMethodMatcherPointcut;

import java.lang.reflect.Method;

/**
 * @author xiaojl
 */
public class NotaryCloudRequestPointCut extends DynamicMethodMatcherPointcut {
    @Override
    public boolean matches(Method method, Class<?> aClass, Object... objects) {
        return "submit".equals(method.getName()) || "exchange".equals(method.getName()) || "query".equals(method.getName());
    }
}
